<template>
    <div class="setP">

         <u-navbar :is-back="true" title="个人中心" back-text='' >
      <view class="slot-right" style="width: 100%;display: flex;justify-content: flex-end;" >
				<!-- <div>
                <img @click="goSettingM" style="width: 1rem;padding: 1rem;" src="../../style/image/my/设 置.png" alt="">
                </div> -->
			</view>
      </u-navbar>
      <div>
            <div style="display: flex;justify-content: space-between;padding: 1rem;border-bottom: 1px solid #f6f6f6;align-items: center;" >
                <div class="set-text" >账号管理</div>
                <div style="color: rgb(176, 176, 176);">123312321312</div>
            </div>

             <div @click="changePwd" style="display: flex;justify-content: space-between;padding:  1rem;border-bottom: 1px solid #f6f6f6;align-items: center;" >
                <div class="set-text">修改登录密码</div>
                <img  style="width: 0.5rem;" src="../../style/image/my/A15.png" alt="">
            </div>

   

      </div>



    </div>
    </div>
</template>

<script lang='ts' >
import { Component, Prop, Vue, Watch, Emit } from "vue-property-decorator";
// import uNavbar from '@/uview-ui/components/u-navbar/u-navbar.vue'

@Component({
  //   @Component  是一个装修器   不可以在下面写语句
  name: "test",
})
export default class extends Vue {
  @Prop({
    type: String, // 父组件传递给子组件的数据类型
    required: false, // 是否必填
    default: " ", // 默认值， 如果传入的是 Object，则要 default: ()=>({}) 参数为函数
  })
  msg!: string;

  public checked = true;

  created() {}

  mounted() {
    //  console.log('父组件传递的参数:',this.$parent)   //暂时不考虑
  }

  loginOut() {
    console.log("2131312");

    uni.navigateTo({
      url: "../login/index",
    });
  }

  changePwd(){

    uni.navigateTo({
      url: "../Smy/pwd",
    });
    
  }
}
</script>

<style  scoped>
.u-border-bottom:after {
  border-bottom-width: 0px !important;
}

.hr {
  height: 1rem;
  background-color: #f3f5f7;
}

.set-text {
  font-size: 0.84rem;
  font-family: PingFang SC;
  font-weight: 400;
  color: #4a4a4a;
}
</style>